{% extends "menues.html" %}

{% block main %}
{% block titulo %}

{% endblock %}


<table id="listado" class="table table-bordered table-condensed table-striped table-hover">
<thead>
	<tr class="info">

		{% block table_heading %}
		{% endblock %}
		<th>
		</th>
	</tr>
</thead>
<tbody>

	{% for item in object_list %}
	<tr bgcolor="{% if item.prioridad.color and not item.estado.terminado %}{{item.prioridad.color}}{% endif %}" >
		{% block item_iteration_row %}
		  	<!-- Put your code here -->
	  	{% endblock %}
		<td>{% if user.is_authenticated %}
			<a class="icon-edit icon-white" href="{{ item.pk }}/editar/"></a>
			<a class="icon-trash icon-white" href="{{ item.pk }}/baja/"></a>
		    {% endif %}
		</td>  	
	</tr>
  	{% endfor %}
</tbody>
</table>


{% endblock %}
